package com.example.software.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ApplyDTO {

    @ApiModelProperty(value = "主键id")
    private Integer id;
    /**
     * 医生id
     */
    @ApiModelProperty(value = "医生id")
    private Integer doctorId;
    /**
     * 工作id
     */
    @ApiModelProperty(value = "排版表id")
    private Integer workdayId;
    /**
     * 原因
     */
    @ApiModelProperty(value = "原因")
    private String reason;
    /**
     * 医生申请时间
     */
    @ApiModelProperty(value = "申请时间")
    private LocalDateTime applyTime;
    /**
     * 状态：申请出诊，申请停诊
     0:申请停诊 1:申请出诊

     */
    @ApiModelProperty(value = "申请类型，0:申请停诊 1:申请出诊")
    private Integer request;
    /**
     * 状态：等待处理，同意，拒绝
     0:拒绝
     1:同意
     2:等待处理
     */
    @ApiModelProperty(value = "状态：2:等待处理，1:同意，0:拒绝")
    private Integer state;
}
